package com.cqndt.disaster.device.service.impl;

import javax.annotation.Resource;
import com.cqndt.disaster.device.vo.TabUserVo;
import org.springframework.stereotype.Service;
import com.cqndt.disaster.device.domain.TabUser;
import com.cqndt.disaster.device.dao.TabUserMapper;
import com.cqndt.disaster.device.service.TabUserService;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class TabUserServiceImpl extends ServiceImpl<TabUserMapper,
		TabUser> implements TabUserService{

	@Resource
	private TabUserMapper tabUserMapper;
	
	@Override
	@Transactional(readOnly=true)
	public TabUserVo getUserByUserName(TabUser record) {
		return tabUserMapper.getUserByUserName(record);
	}

}